package fina2.dcs.system;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.NotNull;

@Entity
@Table(name = "SYS_STRINGS")
@SuppressWarnings("serial")
public class SysString implements Serializable {

	private String value;
	private SysStringPk pk;

	@EmbeddedId
	public SysStringPk getPk() {
		return pk;
	}

	public void setPk(SysStringPk pk) {
		this.pk = pk;
	}

	@NotNull
	@Column(name = "VALUE")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}